import http from '../utils/request'

export const getImgCategory = () => {
  return http({
    method:'get',
    url:'/api/getimgcategory'
  })
}

export const getImages = id => {
  return http({
    method:'get',
    url:'/api/getimages/' + id
  })
}

export const getImageInfo = id => {
  return http({
    method:'get',
    url:'/api/getimageinfo/' + id
  })
}

export const getThumimages = id => {
  return http({
    method:'get',
    url:'/api/getthumimages/' + id
  })
}